package com.kebabeaters.nakebab.shared.dto.structures;

import java.util.ArrayList;
import java.util.List;

import com.google.gwt.user.client.rpc.IsSerializable;

public class Kebab implements IsSerializable {
	private Integer id;
	private String name;
	private Restaurant restaurant;
	private List<Mark> marks = new ArrayList<Mark>();

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Restaurant getRestaurant() {
		return restaurant;
	}

	public void setRestaurant(Restaurant restaurant) {
		this.restaurant = restaurant;
	}

	public List<Mark> getMarks() {
		return marks;
	}

	public void setMarks(List<Mark> marks) {
		this.marks = marks;
	}
	
	public void addMark(Mark mark) {
		this.marks.add(mark);
	}
}
